/*
 * 
 * 
 */

package br.com.caelum.jdbc;

import java.sql.SQLException;

/**
 * 
 * @author menandro.neto
 */
public class MySQLTest extends DBTest {
    public MySQLTest() throws SQLException{
        this.databaseName = "sosturista";
        this.databaseName = "caelum";
        this.driverName = "com.mysql.jdbc.Driver";
        this.userName = "menandro.neto";
        this.password = "meden1";
        this.serverName = "127.0.0.1";
        this.databaseURL = "jdbc:mysql://" 
                + this.serverName + "/" 
                + this.databaseName;	

        if ( this.testConnection() )
            System.out.print("Conectado!\n");
        else
            System.out.print("Não Conectado!\n");
    }
}
